package cn.zyx.user.mapper;

import cn.zyx.basic.mapper.BaseMapper;
import cn.zyx.org.domain.Shop;
import cn.zyx.user.domain.User;

public interface UserMapper extends BaseMapper<User>{// 接口继承接口

    /**
     * 根据电话查询用户
     * @param phone
     * @return
     */
    User loadByPhone(String phone);


    /**
     * 根据登录信息id查询用户
     * @param id
     * @return
     */
    User loadByLoginInfoId(Long id);
}
